<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{log_name} : {log_account_no}</title>
<link rel="shortcut icon" href="{dir_image}favicon.ico">
<link rel="stylesheet" type="text/css" href="{dir_css}Global.css" />
<link rel="stylesheet" type="text/css" href="{dir_css}Popup.css" />
<link rel="stylesheet" type="text/css" href="{dir_css}Dean.css" />
<link rel="stylesheet" type="text/css" href="{dir_css}Registrar.css" />

<script type="text/javascript" src="{dir_js}jquery.min.js"></script>
<script type="text/javascript" src="{dir_js}Global.js"></script>

<script type="text/javascript">
	<!--
	function studSectionAutoGenerate(strSemLinker, strCourse, strSectionID, strYearID) {
		
		$('#loading_generate'+strSectionID).html('<img src="{dir_image}icon/loading_round.gif" border="0"/>');
		
		$.post('request.php', {AJAXPost:'StudSectionAutoGenerate', sem_linker_id:strSemLinker, course_id:strCourse, section_id:strSectionID, year_id:strYearID}, function(r) {
			window.location.href = window.location.href;
		});
		
	}

	function deleteStudSection(strSectionID) {
		$.post('request.php', {AJAXPost:'DeleteStudentSection', section_id:strSectionID}, function() {
			window.location.href = window.location.href;
		});
	}

	function deleteSection(strSectionID) {
		$.post('request.php', {AJAXPost:'DeleteSection', section_id:strSectionID}, function() {
			window.location.href = window.location.href;
		});
	}
	
	//-->
</script>

</head>
<body>
<!-- POPUP -->{page_popup}<!-- POPUP END -->
<!-- TOP HEADER -->{page_header}<!-- TOP HEADER END -->
	<div class="main-content">
	
		<table width="0" border="0" cellspacing="0" cellpadding="0">
			<tr valign="top" align="left">
				<td width="220">
					{dean_sub_menu}
				</td>
				<td width="755">
					<div class="page-sub-content">
					<div class="float-right-back"><a href="?page=SemesterFees&cid={course_id}"><img src="{dir_image}icon/back.png" border="0"/></a></div>
						<div class="ann-top-label">{semester_label}</div>
						<input type="hidden" id="sem_linker_id" value="{sem_linker_id}"/>
						
						<form method="post" enctype="multipart/form-data" action="">
							<table width="" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td height="32" width="110">Section<span class="required-field">*</span></td>
									<td width="13">:</td>
									<td width="592"><input type="text" name="txtsection" class="announce-text-input" value="{txtsection}"/> <span class="required-field">{w_txtsection}</span></td>
								</tr>
								<tr>
									<td height="32">No. of Students<span class="required-field">*</span></td>
									<td>:</td>
									<td><input type="text" name="txtno" class="select-year-input" value="{txtno}" onkeypress="return numberDate(event, false);"/> <span class="required-field">{w_txtno}</span></td>
								</tr>
								<tr valign="top">
									<td height="50" colspan="2"></td>
									<td><input type="submit" name="subButton" class="submit-input" value="Save"/> <input type="button" name="subButton" class="submit-input" value="Cancel" onclick="linkNewPage('CourseSections&slid={slid}&hash={hash}');"/></td>
								</tr>
							</table>
						</form>
						
						<div class="fee-amount-listing">
							<div class="section-assign-label">Enrolled: <strong>{total_enrolled} Students</strong> (Assign: <strong>{assign_enrolled} Students</strong> | Unassign: <strong>{unassign_enrolled} Students</strong>) {section_generate}</div>
							<div id="fee_amount_listing"></div>
						</div>
						
						<table width="750" border="0" cellspacing="0" cellpadding="0">
							<tr class="tr-header">
								<td width="80" class="td-label">&nbsp;</td>
								<td width="15" class="td-label">&nbsp;</td>
								<td width="100" class="td-label">Section</td>
								<td width="150" class="td-label">Allowed Students</td>
								<td width="395" class="td-label"># of Students</td>
							</tr>
							<!-- BEGIN sections -->
								<tr {bgcolor} class="hover-light">
									<td class="td-record">{ed_button}</td>
									<td class="td-record"><strong>{numbering}.</strong></td>
									<td class="td-record">{section_deas}</td>
									<td class="td-record">{no_stud}</td>
									<td class="td-record">{enrolled_stud}</td>
								</tr>
							<!-- END sections -->
							
							<tr><td colspan="5" height="12"></td></tr>
						</table>
					</div>
				</td>
			</tr>
		</table>
		
	</div>
<!-- FOOTER -->{page_footer}<!-- FOOTER -->

</body>
</html>
